<div class="container-fluid">
<div class="row mt10">
    <div class="col-xs-6">
        <div class="panel panel-default">
          <div class="panel-heading">通知信息</div>
          <div class="panel-body container-fluid form-horizontal">
            <div class="form-group" >
                <label class="col-sm-3 control-label text-right">内容前文本</label>
                <div class="col-sm-9 ">
                    <input type="text" class="form-control" ng-model="p.msg1" >
                </div>
            </div>


            <div class="form-group" >
                <label class="col-sm-3 control-label text-right">产品名称</label>
                <div class="col-sm-9 ">
                    <input type="text" class="form-control" ng-model="p.msg2" >
                </div>
            </div>

            <div class="form-group" >
                <label class="col-sm-3 control-label text-right">变动类型</label>
                <div class="col-sm-9 ">
                    <input type="text" class="form-control" ng-model="p.msg3" >
                </div>
            </div>

            <div class="form-group" >
                <label class="col-sm-3 control-label text-right">变动内容</label>
                <div class="col-sm-9 ">
                    <input type="text" class="form-control" ng-model="p.msg4" >
                </div>
            </div>

            <div class="form-group" >
                <label class="col-sm-3 control-label text-right">内容后文本</label>
                <div class="col-sm-9 ">
                    <input type="text" class="form-control" ng-model="p.msg5" >
                </div>
            </div>

            <div class="form-group" >
                <label class="col-sm-3 control-label text-right">发送目标</label>
                <div class="col-sm-9 ">
                    <!-- <label class="i-checks  checkbox-inline">
                          <input type="radio" value="0" name="type"
                          ng-model="p.type"
                          >
                          <i></i>
                          普通会员
                    </label> -->

                    <label class="i-checks  checkbox-inline">
                          <input type="radio" value="1" name="type"
                          ng-model="p.type"
                          >
                          <i></i>
                          分销商
                    </label>

                    <!-- <label class="i-checks  checkbox-inline">
                          <input type="radio" value="2" name="type"
                          ng-model="p.type"
                          >
                          <i></i>
                          全部
                    </label> -->
                </div>
            </div>

            <hr>

            <button class="btn btn-primary btn-block" type="button" ng-click="send()">发送</button>

            <!-- 暂停 -->

          </div>
        </div>
    </div>
    <div class="col-xs-6">
        
        <div class="panel panel-default">

            <div class="panel-heading">通知实例</div>

            <div class="panel-body ">
                <div class="row">
                <div class="col-sm-12">
                    <h3>产品变动通知</h3>
                </div>
                </div>

                <div class="row">
                <div class="col-sm-12">
                    <h5 style="color:#aaa;">{{ddd}}</h5>
                </div>
                </div>

                <div class="row mt10">
                <div class="col-sm-12">
                    {{p.msg1}}
                </div>
                </div>

                <div class="row">
                <div class="col-sm-12">
                    产品名称 : {{p.msg2}}
                </div>
                </div>

                <div class="row">
                <div class="col-sm-12">
                    变动类型 : {{p.msg3}}
                </div>
                </div>

                <div class="row">
                <div class="col-sm-12">
                    变动内容 : {{p.msg4}}
                </div>
                </div>

                <div class="row">
                <div class="col-sm-12">
                    {{p.msg5}}
                </div>
                </div>

            </div>


        </div>


        <pre class="alert alert-info">
注意：
1，取消关注公众号的用户收不到通知。
2，多次发送容易引起用户反感，请慎重。
        </pre>

        

    </div>
</div>




<div class="row">
<div class="col-xs-12">

    <!-- <div class="panel panel-default">
       -->
      <div class="panel panel-default">
      <div class="panel-heading">发送历史</div>

        <div class="panel-body">
        <table class="table table-bordered">
            <thead>
                <tr>
                    <th class="col-md-6 text-center">内容</th>
                    <th class="col-md-2 text-center">发送状态</th>
                    <th class="col-md-2 text-center">发送目标</th>
                    <th class="col-md-2 text-center">发送时间</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="">
                        {{obj.msg1}}<br>
                        产品名称：{{obj.msg2}}<br>
                        变动类型：{{obj.msg3}}<br>
                        变动内容：{{obj.msg4}}<br>
                        {{obj.msg5}}
                    </td>
                    <td class="text-center">
                        {{obj.isnotice_label}}
                    </td>
                    <td class="text-center">
                        {{obj.type_label}}
                    </td>
                    <td class="text-center">
                        {{obj.notice_time}}
                    </td>
                </tr>
            </tbody>

        </table>

        <div class="text-right mt10">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>

        </div>
    </div>

</div>
</div>


</div>







